JavaScript

A5.SpinListsetValue Method

Syntax

A5.SpinList.setValue(value[,executeSelect])

Arguments

valueany

The value to set the spin list to.

executeSelectboolean

Whether or not to execute the select event. The change event will always be executed when the value changes.

Description

Set the value in the spin list.

Example

// To get a pointer to the A5.SpinList class see {dialog.object}.getControl
// assume slObj is a pointer to an instance of the A5.SpinList class
vbObj.setValue(1,true); // set the value of the spin list to "1" and fire the select event